import request from '@/utils/request'

// 查询预约及参数人员列表
export function listReservationPersonnel(query) {
  return request({
    url: '/labdata/reservationPersonnel/list',
    method: 'get',
    params: query
  })
}

// 查询预约及参数人员详细
export function getReservationPersonnel(id) {
  return request({
    url: '/labdata/reservationPersonnel/' + id,
    method: 'get'
  })
}

// 新增预约及参数人员
export function addReservationPersonnel(data) {
  return request({
    url: '/labdata/reservationPersonnel',
    method: 'post',
    data: data
  })
}

// 修改预约及参数人员
export function updateReservationPersonnel(data) {
  return request({
    url: '/labdata/reservationPersonnel',
    method: 'put',
    data: data
  })
}

// 删除预约及参数人员
export function delReservationPersonnel(id) {
  return request({
    url: '/labdata/reservationPersonnel/' + id,
    method: 'delete'
  })
}

// 导出预约及参数人员
export function exportReservationPersonnel(query) {
  return request({
    url: '/labdata/reservationPersonnel/export',
    method: 'get',
    params: query
  })
}
